<{include "public/header.html"}>

	<!-- content -->

	<div class="content">
		<div class="now"><{$nowpath}></div>
		<div class="remai fl">
			<h3>商品分类</h3>
			<div class="hotlist spfl">
				<{foreach $catlist as $v}>

				<div class="zhulei"><a href="<{$app}>?m=product&a=plist&cid=<{$v.id}>" class="sel"><{$v.catname}></a></div>
				<div class="clear"></div>
				<div class="zilei">
					<{foreach $v.subcats as $vv}>
					<a href="<{$app}>?m=product&a=plist&cid=<{$vv.id}>" ><{$vv.catname}></a>
					<{/foreach}>
					<div class="clear"></div>
				</div>
				<{/foreach}>


			</div>
		<h3 class="mat10">热销排行</h3>
		<ul class="hotlist">
			<{foreach $selllists as $v}>
			<li>
			<span class="fl hotimg"><img src="<{$public}>/images/load.gif" data-original="<{thumb($v.logo, 60,60)}>" title="<{$v.name}>" /></span>
				<span class="fl hotname">
					<a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><{$v.name}></a>
					<span class="cred num strong lh20">￥<{$v.money}></span>
				</span>
				<div class="clear"></div>
			</li>
			<{/foreach}>
			<!-- li>
				<span class="fl hotimg"><img src="<{$public}>/images/load.gif" data-original="runttime/thumb/2014-07/thumb_60x60_20140716221852p.jpg" title="IT峰播 商城模板测试商品" /></span>
				<span class="fl hotname">
					<a href="product.php" title="IT峰播 商城模板测试商品" target="_blank">IT峰播 商城模板测试商品</a>
					<span class="cred num strong lh20">￥456.0</span>
				</span>
				<div class="clear"></div>
			</li -->

	
			
		</ul>
	</div>
	<div class="fr xiangqing" style="margin-top:0">
		<div class="caidan">
			<h3 class="fl">商品列表</h3>
			<ul class="fr">
				<li class="prolist_px"><a href="<{$app}>?m=product&a=plist&<{$args}>">默认排序</a></li>
				<li class="prolist_px">
					<{if $smarty.get.orderby eq "clicknum_asc" }>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=clicknum_desc"><i class="i2"></i>按人气</a>
					<{else if $smarty.get.orderby eq "clicknum_desc" }>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=clicknum_asc"><i class="i1"></i>按人气</a>
					<{else}>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=clicknum_desc">按人气</a>
					<{/if}>
				</li>

				<li class="prolist_px">
					<{if $smarty.get.orderby eq "sellnum_asc" }>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=sellnum_desc"><i class="i2"></i>按销量</a>
					<{else if $smarty.get.orderby eq "sellnum_desc" }>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=sellnum_asc"><i class="i1"></i>按销量</a>
					<{else}>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=sellnum_desc">按销量</a>
					<{/if}>
				</li>


				<li class="prolist_px">
					<{if $smarty.get.orderby eq "money_asc" }>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=money_desc"><i class="i2"></i>按价格</a>
					<{else if $smarty.get.orderby eq "money_desc" }>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=money_asc"><i class="i1"></i>按价格</a>
					<{else}>
					<a href="<{$app}>?m=product&a=plist&<{$args}>&orderby=money_desc">按价格</a>
					<{/if}>
				</li>
		

			</ul>
			<div class="clear"></div>
		</div>
		<div class="prolist">
			<{foreach $info_list as $v}>
			<div class="prolist_1 prolist_border">
				<p class="prolist_img prolist_img1"><a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><img src="<{$public}>/images/load.gif" data-original="<{thumb($v.logo, 15, 150, 0)}>"  title="<{$v.name}>" style="display:block" /></a></p>
				<p class="prolist_name"><a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><{$v.name}></a></p>
				<p><span class="money1">￥<{$v.money}></span> <s class="num c888">￥ <{$v.smoney}></s></p>
			</div>
			<{/foreach}>

			<!-- div class="prolist_1 prolist_border">
				<p class="prolist_img prolist_img1"><a href="product.php" title="含蕴 2014夏装新款" target="_blank"><img src="<{$public}>/images/load.gif" data-original="<{$public}>/thumb/2014-07/thumb_150x150_20140720204303j.jpg"  title="含蕴 2014夏装新款" style="display:block" /></a></p>
				<p class="prolist_name"><a href="product.php" title="含蕴 2014夏装新款" target="_blank">含蕴 2014夏装新款</a></p>
				<p><span class="money1">￥100.0</span> <s class="num c888">￥ 100.0</s></p>
			</div -->


		</div>
		<div class="clear"></div>
		<div class="mat15"><{$fpage}></div>
	</div>
	<div class="clear"></div>
</div>


	<!-- footer -->
<{include "public/footer.html"}>
